Array reversal in C hackerrank solution

visit shbcf.ru